package com.xiaoyu.service;

import com.xiaoyu.model.Class;
import com.xiaoyu.model.Course;
import com.xiaoyu.model.Teacher;

import java.util.List;

public interface ClassService {
    public List<Class> allClass();
    public Boolean updateClass(Class aClass);
    public Boolean deleteClass(Class aClass);
    public Boolean addClass(Class aClass);
    public Boolean updateCourseOfClassWithTeacher(Class aClass, Teacher teacher, Course course);

    public Class findOneClass(Class aClass);

    public List<Class> findSomeClass(Teacher t);

    List<Class> allInfo();
}
